home *** CD-ROM | disk | FTP | other *** search
/ Aminet 7 / Aminet 7 - August 1995.iso / Aminet / text / hyper / ADtoHT2_1.lha / Source.lha / MyLib.lha / string / memchr.doc < prev    next >
Encoding:
Text File  |  1995-04-11  |  581 b   |  25 lines

  1. MyLib/memchr                                                      MyLib/memchr
  2.  
  3.     NAME
  4.     memchr - locate byte in byte string
  5.  
  6.     SYNOPSIS
  7.     #include <string.h>
  8.  
  9.     void *memchr(const void *Memory, int Byte, size_t Length);
  10.  
  11.     FUNCTION
  12.     Locates the first occurence of "Byte" (converted to an unsigned char).
  13.  
  14.     INPUTS
  15.     Memory - the memory to search
  16.     Byte - the byte to look out for
  17.     Length - the length of the memory area
  18.  
  19.     RESULT
  20.     A pointer to the byte located, or NULL if no such byte exists within
  21.     length bytes.
  22.  
  23.     STANDARDS CONFORMANCE
  24.     ANSI C3.159-1989, ISO 9899-1990
  25.